﻿using System.ComponentModel.DataAnnotations;

namespace Entity.ERP.DTO.SaleDeliveryOrder
{
    /// <summary>
    /// 销售发货子单模型 - 新增
    /// </summary>
    public class SaleDeliveryItemAddDTO
    {
        /// <summary>
        /// 物料 ID
        /// </summary>
        [Required(ErrorMessage = "物料GoodsId不能为空")]
        public string GoodsId { get; set; }

        /// <summary>
        /// 发货数量
        /// </summary>
        [Required(ErrorMessage = "发货数量Number_Delivery不能为空")]
        public decimal Number_Delivery { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }

        /// <summary>
        /// 附件
        /// </summary>
        public string? File { get; set; }
    }
}
